<template>
    <div  style="height:100%;overflow:hidden;overflow-y:auto;color:#222" v-html="html" >
        
        
    </div>
</template>

<script setup>
import { ref,onMounted } from 'vue';
import apis from '@/apis/login.js'
import { useRoute } from 'vue-router';
const router=useRoute()
let html=ref('')
onMounted(() => {
    let params={
        type:router.query.type
    }
    try{
    apis.richtext(params).then((res)=>{
        
        html.value=res.data.content
       
    })
  }catch(e){

  }
})
</script>

<style lang="scss" scoped>

</style>